package com.hjq.demo.ryquick.custom

import io.rong.imkit.MessageInterceptor
import io.rong.imlib.model.Message

/**
 *author: jiahe
 *创建时间: 2022/2/14
 *Des:
 */
class MyMessageInterceptor : MessageInterceptor {
    override fun interceptReceivedMessage(
        message: Message?,
        left: Int,
        hasPackage: Boolean,
        offline: Boolean
    ): Boolean {
        return false
    }

    override fun interceptOnSendMessage(message: Message?): Boolean {
        return false
    }

    override fun interceptOnSentMessage(message: Message?): Boolean {

        return true
    }
}